By default, pre-reserve some memory in Xen that is not allocated
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 19 Aug 2005 09:36:12 +0000 (09:36 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 19 Aug 2005 09:36:12 +0000 (09:36 +0000)
commit102f5914d49d526887a02f8f4476d33cbfefb4cc
tree80a6d9c972f11b207f0d22b6df9e8477ea42e184
parent7184ccd780f046258fdf6c4e67d10547411cfcce
By default, pre-reserve some memory in Xen that is not allocated
to domain 0 (1/16th available memory, up to 128MB maximum).
Also, extend dom0_mem boot parameter to accept negative values.
A negative value means "allocate all memory, minus the specified
amount".

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/kernel/swiotlb.c
xen/arch/x86/domain_build.c